<?php
/**
 * 反馈
 */
namespace App\Http\Controllers;

use App\Service\FeedbackService;
use App\Validation\FeedbackValidation;

class FeedbackController extends BaseController
{

	public function doAction()
	{
		$this->getUser();
		$raw = $this->validation(new FeedbackValidation, $this->request->getJsonRawBody());
		$data = FeedbackService::save($raw);
		return $this->echoJson('ok');
	}


}